package com.label.Model.Do.LearningAnalysis;

import java.io.Serializable;
import java.util.Date;

/**
 * 学生成绩-四六级信息表
 * @TableName CET_INFO
 */
public class CetInfo implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 学号
     */
    private String stuCode;

    /**
     * 班级名
     */
    private String classLabel;

    /**
     * 班级id
     */
    private Long classId;

    /**
     * 专业名
     */
    private String majorLabel;

    /**
     * 专业id
     */
    private Long majorId;

    /**
     * CET4得分
     */
    private Long cet4Score;

    /**
     * 是否通过CET4
     */
    private Long isPass4;

    /**
     * 四级通过时间
     */
    private Date cet4Time;

    /**
     * CET6得分
     */
    private Long cet6Score;

    /**
     * 是否通过CET6
     */
    private Long isPass6;

    /**
     * 六级时间
     */
    private Date cet6time;

    /**
     * 逻辑删除
     */
    private Integer isDeleted;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新人
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 备注
     */
    private String remark;

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    public Long getId() {
        return id;
    }

    /**
     * id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 姓名
     */
    public String getName() {
        return name;
    }

    /**
     * 姓名
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 学号
     */
    public String getStuCode() {
        return stuCode;
    }

    /**
     * 学号
     */
    public void setStuCode(String stuCode) {
        this.stuCode = stuCode;
    }

    /**
     * 班级名
     */
    public String getClassLabel() {
        return classLabel;
    }

    /**
     * 班级名
     */
    public void setClassLabel(String classLabel) {
        this.classLabel = classLabel;
    }

    /**
     * 班级id
     */
    public Long getClassId() {
        return classId;
    }

    /**
     * 班级id
     */
    public void setClassId(Long classId) {
        this.classId = classId;
    }

    /**
     * 专业名
     */
    public String getMajorLabel() {
        return majorLabel;
    }

    /**
     * 专业名
     */
    public void setMajorLabel(String majorLabel) {
        this.majorLabel = majorLabel;
    }

    /**
     * 专业id
     */
    public Long getMajorId() {
        return majorId;
    }

    /**
     * 专业id
     */
    public void setMajorId(Long majorId) {
        this.majorId = majorId;
    }

    /**
     * CET4得分
     */
    public Long getCet4Score() {
        return cet4Score;
    }

    /**
     * CET4得分
     */
    public void setCet4Score(Long cet4Score) {
        this.cet4Score = cet4Score;
    }

    /**
     * 是否通过CET4
     */
    public Long getIsPass4() {
        return isPass4;
    }

    /**
     * 是否通过CET4
     */
    public void setIsPass4(Long isPass4) {
        this.isPass4 = isPass4;
    }

    /**
     * 四级通过时间
     */
    public Date getCet4Time() {
        return cet4Time;
    }

    /**
     * 四级通过时间
     */
    public void setCet4Time(Date cet4Time) {
        this.cet4Time = cet4Time;
    }

    /**
     * CET6得分
     */
    public Long getCet6Score() {
        return cet6Score;
    }

    /**
     * CET6得分
     */
    public void setCet6Score(Long cet6Score) {
        this.cet6Score = cet6Score;
    }

    /**
     * 是否通过CET6
     */
    public Long getIsPass6() {
        return isPass6;
    }

    /**
     * 是否通过CET6
     */
    public void setIsPass6(Long isPass6) {
        this.isPass6 = isPass6;
    }

    /**
     * 六级时间
     */
    public Date getCet6time() {
        return cet6time;
    }

    /**
     * 六级时间
     */
    public void setCet6time(Date cet6time) {
        this.cet6time = cet6time;
    }

    /**
     * 逻辑删除
     */
    public Integer getIsDeleted() {
        return isDeleted;
    }

    /**
     * 逻辑删除
     */
    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    /**
     * 创建人
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 创建人
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 更新人
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 更新人
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        CetInfo other = (CetInfo) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getStuCode() == null ? other.getStuCode() == null : this.getStuCode().equals(other.getStuCode()))
            && (this.getClassLabel() == null ? other.getClassLabel() == null : this.getClassLabel().equals(other.getClassLabel()))
            && (this.getClassId() == null ? other.getClassId() == null : this.getClassId().equals(other.getClassId()))
            && (this.getMajorLabel() == null ? other.getMajorLabel() == null : this.getMajorLabel().equals(other.getMajorLabel()))
            && (this.getMajorId() == null ? other.getMajorId() == null : this.getMajorId().equals(other.getMajorId()))
            && (this.getCet4Score() == null ? other.getCet4Score() == null : this.getCet4Score().equals(other.getCet4Score()))
            && (this.getIsPass4() == null ? other.getIsPass4() == null : this.getIsPass4().equals(other.getIsPass4()))
            && (this.getCet4Time() == null ? other.getCet4Time() == null : this.getCet4Time().equals(other.getCet4Time()))
            && (this.getCet6Score() == null ? other.getCet6Score() == null : this.getCet6Score().equals(other.getCet6Score()))
            && (this.getIsPass6() == null ? other.getIsPass6() == null : this.getIsPass6().equals(other.getIsPass6()))
            && (this.getCet6time() == null ? other.getCet6time() == null : this.getCet6time().equals(other.getCet6time()))
            && (this.getIsDeleted() == null ? other.getIsDeleted() == null : this.getIsDeleted().equals(other.getIsDeleted()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getStuCode() == null) ? 0 : getStuCode().hashCode());
        result = prime * result + ((getClassLabel() == null) ? 0 : getClassLabel().hashCode());
        result = prime * result + ((getClassId() == null) ? 0 : getClassId().hashCode());
        result = prime * result + ((getMajorLabel() == null) ? 0 : getMajorLabel().hashCode());
        result = prime * result + ((getMajorId() == null) ? 0 : getMajorId().hashCode());
        result = prime * result + ((getCet4Score() == null) ? 0 : getCet4Score().hashCode());
        result = prime * result + ((getIsPass4() == null) ? 0 : getIsPass4().hashCode());
        result = prime * result + ((getCet4Time() == null) ? 0 : getCet4Time().hashCode());
        result = prime * result + ((getCet6Score() == null) ? 0 : getCet6Score().hashCode());
        result = prime * result + ((getIsPass6() == null) ? 0 : getIsPass6().hashCode());
        result = prime * result + ((getCet6time() == null) ? 0 : getCet6time().hashCode());
        result = prime * result + ((getIsDeleted() == null) ? 0 : getIsDeleted().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", stuCode=").append(stuCode);
        sb.append(", classLabel=").append(classLabel);
        sb.append(", classId=").append(classId);
        sb.append(", majorLabel=").append(majorLabel);
        sb.append(", majorId=").append(majorId);
        sb.append(", cet4Score=").append(cet4Score);
        sb.append(", isPass4=").append(isPass4);
        sb.append(", cet4Time=").append(cet4Time);
        sb.append(", cet6Score=").append(cet6Score);
        sb.append(", isPass6=").append(isPass6);
        sb.append(", cet6time=").append(cet6time);
        sb.append(", isDeleted=").append(isDeleted);
        sb.append(", createBy=").append(createBy);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", remark=").append(remark);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}